<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>词多多代理商平台</title>
    <include file="Index:header" />
    <script type="text/javascript">
        $(function(){
            $(".help-side dl dd:eq(0)").addClass('cur');
        })
    </script>
    <script type="text/javascript">
        $(function(){
            $("#top #topcon .nav li:eq(1)").addClass('cur');
        })
    </script>
    <script src="__PUBLIC__/js/main.js" type="text/javascript" charset="UTF-8"></script>
</head>
<body>
<include file="Index:top"/>
<div id="main" style="overflow:hidden;">
<include file="User:left"/>
<div id="main_right" class="container">
<div class="title"><span style="font-size:12px;color:#FF7902;">{$userInfo['Username']}下的站点</span><button class="button_s green" style="float:right;margin-top:5px; padding:1px 10px"
                                                      onclick="window.history.go(-1)">返回</button></div>
<div id="proxyinfo" class="container p10 mt10">
    <table class="table" width="100%" cellpadding="4">
        <tr style="border-bottom: 2px solid #eee;">
            <th>网站域名</th>
            <th>网站名称</th>
            <th>状态</th>
            <th>关键词数量</th>
            <th>注册时间</th>
        </tr>
        <tbody id="tbody">
        <volist name="list" id="vo">
            <tr>
                <td>{$vo['Domain']}</td>
                <td>{$vo['Webname']}</td>
                <if condition="$vo['Status'] eq 0"><td>停用</td>
                    <else/><td>开启</td>
                </if>
                <td>{$vo['keywordnum']}</td>
                <td>{$vo['Regdate']}</td>
            </tr>
        </volist>
        </tbody>
    </table>
    <div class="mt10">
        <div class="page_list">
            <div class="p_l">
                {$pageshow}
            </div>
        </div>
    </div>
</div>
    <include file="Index:footer"/>
<script type="text/javascript">

    $(function () {
        $("#useroption").sSelect();
    });
    function query(){
        otn=$("#otn").val();//按照什么条件进行查询
        if(otn==""){
            art.dialog({
                content: '请选择查询条件',
                icon: 'warning',
                lock: true,
                ok:'确定',
                cancelVal: '取消',
                cancel: true
            });
            return false;
        }
        content=$("#content").val();//输入的查询内容
        if(content==""){
            art.dialog({
                content: '请输入查询内容',
                icon: 'warning',
                lock: true,
                ok:'确定',
                cancelVal: '取消',
                cancel: true
            });
            return false;
        }
        window.location="__URL__/userlist?otn="+otn+"&content="+content;
    }
    function start(id){
        art.dialog({
            content: '您确定要开启吗？',
            icon: 'question',
            lock: true,
            ok: function() {
                window.location.href = "__URL__/startuser?userId="+id;
            },
            cancelVal: '取消',
            cancel: true
        });
    }

    function pause(id){
        art.dialog({
            content: '您确定要暂停吗？',
            icon: 'question',
            lock: true,
            ok: function() {
                window.location.href = "__URL__/pauseuser?userId="+id;
            },
            cancelVal: '取消',
            cancel: true
        });
    }

    function del(id){
        art.dialog({
            content: '您确定要删除吗？',
            icon: 'question',
            lock: true,
            ok: function() {
                window.location.href = "__URL__/userdel?userId="+id;
            },
            cancelVal: '取消',
            cancel: true
        });
    }
</script>
</body>
</html>